package com.hwqsdk.myapplication.practise;

import android.webkit.JavascriptInterface;

import java.util.List;

/**
 * Create by Fanketly on 2021/11/25
 * Gitee:https://gitee.com/fanketly
 */
public class JS<T> {
    public JS(List<T> list) {
        this.list = list;
    }

    private final List<T> list;


    @JavascriptInterface
    public String toList() {
        return Http.G.toJson(list);
    }
}
